{% for host in groups["shard"] %}
sh.addShard("{{hostvars[host].replSet}}/{{hostvars[host].bind_ip}}:{{hostvars[host].mongodb_port}}")
{% endfor %}
printjson(sh.status())
